package tang.common;

import java.nio.ByteBuffer;

/**
 * @author Tang
 * @classname Record
 * @description [  ]
 * @date 2021/2/26 10:21
 */
public abstract class Record {

    protected ByteBuffer data = ByteBuffer.allocate(8 * 1024);

    public abstract void encoder();

    public abstract void decoder(ByteBuffer respData);

    public ByteBuffer getData() {
        return data;
    }
}
